package com.maserb.monitor.repository.schoolStudent;

import com.maserb.monitor.entity.card.AttendanceRecordEntity;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface AttendanceRepository extends JpaSpecificationExecutor<AttendanceRecordEntity>
        , PagingAndSortingRepository<AttendanceRecordEntity, String> {

    AttendanceRecordEntity findFirstByCardIdAndStartTime(String cardId, String startTime);
}